package com.ext.aic.beans.params;

import com.ext.aic.beans.TagItem;
import com.ext.aic.enums.ContentType;

import java.io.Serializable;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ContentPublishParams implements Serializable {

    //内容标题
    private String title;

    //内容类型
    private ContentType contentType;

    //内容主体，存储原始文本或 Markdown 源码
    private String body;

    //推荐理由
    private String recommendReason;

    //标签集合
    private List<TagItem> tags;

    //附件id集合
    private List<String> attachmentIds;
}
